Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <p><strong>Note:</strong> This example does not work in Internet Explorer and Safari.</p> <svg width="400" height="400"> <rect x="20" y="20" width="250" height="250" style="fill:blue"> <animate attributeType="CSS" attributeName="opacity" from="1" to="0" dur="5s" repeatCount="indefinite" /> </rect> Sorry, your browser does not support inline SVG. </svg> </body> <!-- Mirrored from www.w3schools.com/svg/tryit.asp?filename=trysvg_animate by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:27:59 GMT --> </html>
Result:
Try it Yourself - © w3schools.com